/**
 * 2018年5月20日下午9:49:02
 */
package com.an.nopro.app.framework.schedulejob;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;

/**
 * 
 * @目的：cron表达式数据库实体.<br>
 * 
 * @author 86171
 * @date 2018年5月20日下午9:49:02
 * 
 */
@Entity
public class CronConfig implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 4834641952504994615L;

	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	private Long id;

	private String cron;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getCron() {
		return cron;
	}

	public void setCron(String cron) {
		this.cron = cron;
	}

}
